package com.jyy.prefabricated.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @version 1.0.0
 * @author: zjj
 */
@Data
public class StudentExamScoreVo {

    //学生考试id
    private Integer studentExamId;

    //考试名称
    private String examName;

    //考核点名称
    private String pointName;
    /**
     * 考试id
     */
    private Integer examId;

    /**
     * 学生id
     */
    private Integer studentId;
    //培训机构名称
    private String trainingOrganizationName;

    //考试姓名
    private String studentName;

    //身份证
    private String idCard;

    private Double score;// 客观题成绩

    //答题用时
    private Integer useTime;

    //答题结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    private Double subjectiveScore;// 主观成绩

    private Integer readOverStatus;// 批阅状态

    private Double totalScore;//总成绩

    private String tel;//联系方式

    private Boolean isPass = false;//是否合格

    //答题结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

}
